package dk.itu.spvc.tourtracker.model;

public class Point {
	
	private long pointId;
	private int tripId;
	private double latitude;
	private double longitude;
	private PointType pointType;
	
	public Point(double longitude, double latitude, PointType pointType) {
		super();				
		this.longitude = longitude;
		this.latitude = latitude;		
		this.pointType = pointType;
	}
	
	public Point(long pointId, int tripId, double longitude, double latitude, PointType pointType) {
		super();
		this.pointId = pointId;
		this.tripId = tripId;
		this.longitude = longitude;
		this.latitude = latitude;		
		this.pointType = pointType;
	}

	public long getPointId() {
		return pointId;
	}

	public void setPointId(int pointId) {
		this.pointId = pointId;
	}

	public int getTripId() {
		return tripId;
	}

	public void setTripId(int tourId) {
		this.tripId = tourId;
	}
	
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	
	public double getLatitude() {
		return latitude;
	}
	
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	
	public double getLongitude() {
		return longitude;
	}
	
	public void setPointType(PointType pointType) {
		this.pointType = pointType;
	}
	
	public PointType getPointType() {
		return pointType;
	}
	
}